-
Notifications
You must be signed in to change notification settings - Fork 4
Print filter input/output formats in help output #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
There is an issue in commit 16588e7: |
16588e7 to
c99d278
Compare
|
/submit |
|
Submitted as pull.43.ffstaging.FFmpeg.1665494271.ffmpegagent@gmail.com To fetch this version into To fetch this version to local tag |
a39757b to
2938942
Compare
|
/submit |
|
Submitted as pull.43.v2.ffstaging.FFmpeg.1665524301.ffmpegagent@gmail.com To fetch this version into To fetch this version to local tag |
Prints the following to AVBPrint:
For pass-through filter links:
"All (passthrough)"
For filters using query_formats:
"Dynamic"
For filters using query_formats where a call to query_formats
succeeds (example):
"Dynamic, Defaults: [yuv420p, yuvj420p, yuva420p, nv12, nv21]"
For all other filters (example):
"[s16p, s32p, fltp, dblp]"
Except in case when the number of formats equals the number of
available formats:
"All"
Signed-off-by: softworkz <softworkz@hotmail.com>
Exmaple command: ffmpeg -h filters=overlay
Output:
Filter overlay
Overlay a video source on top of the input.
slice threading supported
Inputs:
#0: main (video), Formats: Dynamic, Default: [yuv420p, yuvj420p,
yuva420p, nv12, nv21]
#1: overlay (video), Formats: Dynamic, Default: [yuva420p]
Outputs:
#0: default (video), Formats: Dynamic, Default: [yuv420p, yuvj420p,
yuva420p, nv12, nv21]
overlay AVOptions:
[...]
Signed-off-by: softworkz <softworkz@hotmail.com>
2938942 to
2446d57
Compare
Example output for command:
ffmpeg -h filters=overlayExamples for what it prints in various cases
For pass-through filter links
For filters using query_formats
For filters using query_formats where a call to query_formats succeeds
For all other cases
Except when all formats are supported
(number of formats equals number of available formats)
v2: rebase and fix compiler warnings